package music_store.ms.controller.pages.portal;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class UserPageController {

    @RequestMapping("/user/index")
    public String userIndex(){
        return "/portal/user/userIndex";
    }

    @RequestMapping("/user/login")
    public String loginPages(){
        return "/portal/user/login";
    }

    @RequestMapping("/user/logout")
    public String logoutPages(){
        return "/portal/user/logout";
    }

    @RequestMapping("/user/register")
    public String registerPages(){
        return "/portal/user/register";
    }

    @RequestMapping("/user/forget_get_question")
    public String forget_get_question_Pages(){
        return "/portal/user/forget_get_question";
    }

    @RequestMapping("/user/forget_check_answer")
    public String forget_check_answer_Pages(){
        return "/portal/user/forget_check_answer";
    }

    @RequestMapping("/user/forget_reset_password")
    public String forget_reset_password_Pages(){
        return "/portal/user/forget_reset_password";
    }

    @RequestMapping("/user/reset_password")
    public String reset_password_Pages(){
        return "/portal/user/reset_password";
    }

    @RequestMapping("/user/get_info")
    public String get_info_Pages(){
        return "/portal/user/get_info";
    }

    @RequestMapping("/user/update_info")
    public String update_info_Pages(){
        return "/portal/user/update_info";
    }


}
